<?php
return array(
    
    'DB_DEPLOY_TYPE' => 1, //数据库主从支持
    'DB_RW_SEPARATE' => true, //读写分离
    'SHOW_PAGE_TRACE' => false,

    'DB_TYPE' => 'mysql',
    'DB_HOST' => "localhost",
    'DB_NAME' => 'jp',
    'DB_USER' => 'root',
    'DB_PWD' => '123456',
    'DB_PORT' => 3306,
    'DB_CHARSET' => 'UTF8',
    'DB_DEBUG'  =>  true,


     //'配置项'=>'配置值'
    'TMPL_L_DELIM'=>'{%',
    'TMPL_R_DELIM'=>'%}',

    'VAR_PAGE'=>'page',

    'COOKIE_EXPIRE' => 0,                                            // Cookie有效期
    'COOKIE_PATH' => '/',                                             // Cookie路径

    'URL_MODEL'=>2,
    'URL_CASE_INSENSITIVE' =>true,                                                  #url支持大小写

    'MODULE_ALLOW_LIST'    =>    array('Home',),        #模块配置
    'DEFAULT_MODULE'       =>    'Home',

    'VIEW_PATH'=>APP_PATH.'View/',
    // 'LAYOUT_ON'=>true,
    // 'LAYOUT_NAME'=>'layout',

    // 'UPLOAD_BASE_DIR'=>'/data/upload/',
    // 'LOGS_DIR'=>'/data/logs/www/',
    // 'TOKEN_ON'=>true,

    // 'TMPL_ACTION_SUCCESS'=>'Common/success',
    // 'TMPL_ACTION_ERROR'=>'Common/success',
);
